//
// Created by 28365 on 2025/3/5.
//

#include "../include/config/handler/event/PreUpdateEvent.h"

bool PreUpdateEvent::isCancel() const {
    return cancel;
}

void PreUpdateEvent::setCancel(const bool _cancel) {
    PreUpdateEvent::cancel = _cancel;
}

PreUpdateEvent::PreUpdateEvent(Res *res, int version) : UpdateEvent(res, version) {}
